package org.nupter.mmruby;


import org.nupter.mmruby.MainActivity;
import org.nupter.mmruby.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;




public class WelcomeActivity extends Activity {

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_welcome);

        Start();
    }

    public void Start() {
        new Thread() {
            public void run() {
                try {
                    Thread.sleep(3000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                Intent intent = new Intent();
                intent.setClass(WelcomeActivity.this, MainActivity.class);
                startActivity(intent);
                finish();
            }
        }.start();
    }

}
